package com.eascs.web.o2o.scheduler.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the report_new_business database table.
 * 
 */
@Entity
@Table(name="basic_information_after_loan")
@NamedQuery(name="BasicInformationAfterLoan.findAll", query="SELECT r FROM BasicInformationAfterLoan r")
public class BasicInformationAfterLoan implements Serializable {
	private static final long serialVersionUID = 1L;

	@Column(name="bill_code")
	private String billCode;

	@Column(name="loan_amount")
	private BigDecimal loanAmount;

	@Column(name="outstanding_of_deposits")
	private BigDecimal outstandingOfDeposits;

	@Column(name="overdue_principal")
	private BigDecimal overduePrincipal;

	@Column(name="overdue_interest")
	private BigDecimal overdueInterest;

	@Column(name="compensatory_amount")
	private BigDecimal compensatoryAmount;

	@Column(name="last_op_date")
	private Date lastOpDate;
	
	@Column(name="source_type")
	private Integer sourceType;

	@Column(name="penalty_interest")
	private BigDecimal penaltyInterest;
	
	@Column(name="overdue_principal_days")
	private Integer overduePrincipalDays;

	@Column(name="compensatory_amount_balance")
	private BigDecimal compensatoryAmountBalance;
	
	@Column(name="repay_status")
	private String  repayStatus;
	
	@Column(name="last_year_banlance_amount")
	private String  lastYearBanlanceAmount;
	
	@Column(name="repay_date")
	private Date  repayDate;

	public String getBillCode() {
		return billCode;
	}

	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}

	public BigDecimal getLoanAmount() {
		return loanAmount;
	}

	public void setLoanAmount(BigDecimal loanAmount) {
		this.loanAmount = loanAmount;
	}

	public BigDecimal getOutstandingOfDeposits() {
		return outstandingOfDeposits;
	}

	public void setOutstandingOfDeposits(BigDecimal outstandingOfDeposits) {
		this.outstandingOfDeposits = outstandingOfDeposits;
	}

	public BigDecimal getOverduePrincipal() {
		return overduePrincipal;
	}

	public void setOverduePrincipal(BigDecimal overduePrincipal) {
		this.overduePrincipal = overduePrincipal;
	}

	public BigDecimal getOverdueInterest() {
		return overdueInterest;
	}

	public void setOverdueInterest(BigDecimal overdueInterest) {
		this.overdueInterest = overdueInterest;
	}

	public BigDecimal getCompensatoryAmount() {
		return compensatoryAmount;
	}

	public void setCompensatoryAmount(BigDecimal compensatoryAmount) {
		this.compensatoryAmount = compensatoryAmount;
	}

	public Date getLastOpDate() {
		return lastOpDate;
	}

	public void setLastOpDate(Date lastOpDate) {
		this.lastOpDate = lastOpDate;
	}

	public Integer getSourceType() {
		return sourceType;
	}

	public void setSourceType(Integer sourceType) {
		this.sourceType = sourceType;
	}

	public BigDecimal getPenaltyInterest() {
		return penaltyInterest;
	}

	public void setPenaltyInterest(BigDecimal penaltyInterest) {
		this.penaltyInterest = penaltyInterest;
	}

	public Integer getOverduePrincipalDays() {
		return overduePrincipalDays;
	}

	public void setOverduePrincipalDays(Integer overduePrincipalDays) {
		this.overduePrincipalDays = overduePrincipalDays;
	}

	public BigDecimal getCompensatoryAmountBalance() {
		return compensatoryAmountBalance;
	}

	public void setCompensatoryAmountBalance(BigDecimal compensatoryAmountBalance) {
		this.compensatoryAmountBalance = compensatoryAmountBalance;
	}

	public String getRepayStatus() {
		return repayStatus;
	}

	public void setRepayStatus(String repayStatus) {
		this.repayStatus = repayStatus;
	}

	public String getLastYearBanlanceAmount() {
		return lastYearBanlanceAmount;
	}

	public void setLastYearBanlanceAmount(String lastYearBanlanceAmount) {
		this.lastYearBanlanceAmount = lastYearBanlanceAmount;
	}

	public Date getRepayDate() {
		return repayDate;
	}

	public void setRepayDate(Date repayDate) {
		this.repayDate = repayDate;
	}

	
	
	
}